package com.onewingu.gcs.shared;

import com.google.gwt.user.client.rpc.IsSerializable;

public class GroupInfo implements IsSerializable {

	private String groupId;
	private String groupTitle;
	private boolean shared;
	
	/**
	 * @param groupId
	 * @param groupTitle
	 * @param shared
	 */
	public GroupInfo(String groupId, String groupTitle, boolean shared) {
		this.groupId = groupId;
		this.groupTitle = groupTitle;
		this.shared = shared;
	}

	/**
	 * @param groupId
	 * @param groupTitle
	 */
	public GroupInfo(String groupId, String groupTitle) {
		this(groupId, groupTitle, false);
	}
	
	public GroupInfo() {
		this(null, null, false);
	}

	/**
	 * @return the groupTitle
	 */
	public String getGroupTitle() {
		return groupTitle;
	}

	/**
	 * @return the shared
	 */
	public boolean isShared() {
		return shared;
	}

	/**
	 * @param shared the shared to set
	 */
	public void setShared(boolean shared) {
		this.shared = shared;
	}

	/**
	 * @return the groupId
	 */
	public String getGroupId() {
		return groupId;
	}

	/**
	 * @param groupId the groupId to set
	 */
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	/**
	 * @param groupTitle the groupTitle to set
	 */
	public void setGroupTitle(String groupTitle) {
		this.groupTitle = groupTitle;
	}
	
	
}
